package com.weixing.mall.provider.model.query;

import com.weixing.mall.base.constant.DatePattern;
import com.weixing.mall.provider.model.enums.OrderPointStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 积分商品订单查询
 */
@Data
public class OrderPointQuery {

    @ApiModelProperty(value = "购买人名称")
    private String buyer;

    @ApiModelProperty(value = "积分商品名称")
    private String goodsName;

    @ApiModelProperty(value = "状态")
    private OrderPointStatusEnum status;

    @ApiModelProperty(value = "开始日期")
    @DateTimeFormat(pattern= DatePattern.NORM_DATETIME_PATTERN)
    private String startTime;

    @ApiModelProperty(value = "结束日期")
    @DateTimeFormat(pattern= DatePattern.NORM_DATETIME_PATTERN)
    private String endTime;
}
